package com.hk.migration.db.craftsman;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.*;
import lombok.Data;

/**
 * 已排课数据
 */
@Data
@Table(name = "schedule_lesson_book")
public class ScheduleLessonBook implements Serializable {
    /**
     * 全局唯一课Id
     */
    @Id
    @Column(name = "book_lesson_id")
    private Long bookLessonId;

    /**
     * 是否独立约课
     */
    @Column(name = "separate")
    private Integer separate;

    /**
     * 公司Id
     */
    @Column(name = "company_id")
    private Long companyId;

    /**
     * 课程类型: 常规.体验 REGULAR,EXPERIENCE,CHINESE
     */
    @Column(name = "book_type")
    private String bookType;

    /**
     * 时长:分钟
     */
    @Column(name = "duration_min")
    private Long durationMin;

    /**
     * 上课方式:EEO,AGORA
     */
    @Column(name = "class_platform")
    private String classPlatform;

    /**
     * 开始时间
     */
    @Column(name = "start_time")
    private Date startTime;

    /**
     * 结束时间
     */
    @Column(name = "end_time")
    private Date endTime;

    /**
     * 课类型对应课耗消耗:ONE_TO_ONE,ONE_TO_TWO
     */
    @Column(name = "lesson_type")
    private String lessonType;

    /**
     * 对应课的Id
     */
    @Column(name = "lesson_id")
    private Long lessonId;

    /**
     * 课程名称
     */
    @Column(name = "lesson_name")
    private String lessonName;

    /**
     * 课状态:READY,END,CANCEL
     */
    @Column(name = "book_status")
    private String bookStatus;

    /**
     * 创建时间
     */
    @Column(name = "create_time")
    private Date createTime;

    /**
     * 创建人Id
     */
    @Column(name = "create_user_id")
    private Long createUserId;

    /**
     * 创建人
     */
    @Column(name = "create_account")
    private String createAccount;

    /**
     * 最后修改时间
     */
    @Column(name = "modified_time")
    private Date modifiedTime;

    /**
     * 修改人Id
     */
    @Column(name = "modified_user_id")
    private Long modifiedUserId;

    /**
     * 修改人名称
     */
    @Column(name = "modified_account")
    private String modifiedAccount;

    /**
     * hello kid后台数据ID
     */
    @Column(name = "hk_id")
    private Long hkId;

    private static final long serialVersionUID = 1L;
}
